import {StatisticCard} from "@ant-design/pro-components";
import {Space} from "antd";
import {RiMoneyCnyCircleFill, RiUserFill} from "react-icons/ri";
import styles from "./index.module.less"


const Dashboard = () => {
    return (
        <div className={styles.Dashboard}>
            <Space size={100}>
                <StatisticCard statistic={{
                    title: "用户数",
                    value: "1000",
                    icon: <RiUserFill size={60}/>
                }}/>
                <StatisticCard statistic={{
                    title: "总交易量",
                    value: "1000",
                    icon: <RiMoneyCnyCircleFill size={60}/>
                }}/>
            </Space>
        </div>
    );
};

export default Dashboard;
